package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Subject;
import cn.wolfcode.crm.query.SubjectQueryObject;

import java.util.List;

public interface SubjectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Subject record);

    Subject selectByPrimaryKey(Long id);

    List<Subject> selectAll();

    int updateByPrimaryKey(Subject record);
    //高级查询
    int queryForCount(SubjectQueryObject qo);

    List<Subject> queryForList(SubjectQueryObject qo);
}